import req from "@/utils/request";
// import service from "@/utils/request";
let { request, service, upload } = req;

// 登录
export function doLogin(params) {
  return request("/sjw_department_control/acc/doLogin", "post", {
    params,
  });
}

// 获取验证码
export function captchaImage(params) {
  return request("/sjw_department_control/captcha/captchaImage", "get", {
    params,
  });
}

//多跨事件列表
export function event_details(params) {
  return request("/sjw_department_control/jyzz/event-details", "post", {
    params,
  });
}

// 驾驶舱2.0数据
export function event_info(params) {
  return request("/sjw_department_control/jyzz/event-info", "post", { params });
}


// 验证token
export function getisLogin(params) {
  return request("/sjw_department_control/acc/isLogin", "post", {
    params,
  });
}

// 验证token
export function authSzqs(params) {
  return service.post("/sjw_department_control/authClient/authXyzz", params);
}

